package cn.schoolwow.quickdao.module.database.ddl.query.service.property;

import cn.schoolwow.quickdao.module.database.ddl.common.flow.GetDatabaseEntityFromCacheFlow;
import cn.schoolwow.quickdao.module.database.ddl.query.flow.property.GetEntityPropertyFlow;
import cn.schoolwow.quickflow.QuickFlowExecutor;
import cn.schoolwow.quickflow.flow.CompositeBusinessFlow;

public class GetPropertyListCompositeBusiness implements CompositeBusinessFlow {
    @Override
    public void executeCompositeBusiness(QuickFlowExecutor quickFlowExecutor) {
        quickFlowExecutor.next(new GetDatabaseEntityFromCacheFlow())
                .next(new GetEntityPropertyFlow());
    }

    @Override
    public String name() {
        return "获取数据库表字段列表信息";
    }
}
